/* Виджет - рейтинг пользователей */

.bgc_userRating {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    
    background: #f0f0f0;
    border-radius: 5px;
}

.ch_rateHeader {
    margin-bottom: 24px;
    padding: 15px 18px;
    background: rgba(255,255,255,.6);
    border-radius: 5px;
}

.bgc_userRating h3 {
    position: relative;
    
    color: #1B1C1E;
    font-family: "Jost", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

.ch_rateUserInfo {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;

    margin-bottom: 0px;
    padding: 16px 0 0;

}

.ch_rateUserInfo > div:nth-child(2) {
    flex: 1 1 90px;
    padding-right: 30px;
}

.ch_rateUserInfo > div:nth-child(3) {
    flex: 1 1 calc(60% - 90px);
}

.ch_rateUserPhoto {
    position: relative;
    flex: 1 1 60px;
}

.ch_rateUserPhoto img {
    width: 60px;
    height: 60px;
    border-radius: 100px;
}


.ratingBtn {
    display: block;
    margin: 0px auto 20px!important;
    padding: 6px 10px;
    max-width: calc(100% - 40px);
    width: 100%;
    
    color: #fff;
    text-align: center;
    
    background: #FF1420;
    border-radius: 5px;
    
    transition: all .3s;
}

.ratingBtn:hover {
    color: #000;
    background: #FFCA0F;
    text-decoration: none;
}

.ch_ratingBadgesAll {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: -7px;
    
    padding: 10px;
    min-width: 300px;
    min-height: 100px;
    
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    z-index: 1000;
}

.ch_ratingBadgesAll div {
    width: 100%;
    margin-bottom: 10px;
    padding: 5px 15px 5px 10px !important;
    color: #fff;
    border: none !important;
    border-radius: 5px !important;
    background: #DD141F;
}

.ch_ratingBadgesAll div img {
    max-width: 30px;
    height: auto;
    background: #fff;
}

.ch_ratingBadgesAll div span {
    color: #fff !important;
}

.ch_rateUSText {
    display: block;

    font-family: "Jost", sans-serif;
    color: #1B1C1E;
    font-size: 14px;
    font-weight: 400;
    
    line-height: 1;
}

.ch_rateUSCount {
    display: inline-block;
    margin-top: 10px;
   
    font-family: "Jost", sans-serif;
    font-size: 40px;
    font-weight: 700;
    
    line-height: 1;
}

.ch_rateUserScore .ch_rateUSCount {
    color: #c00000;
    font-weight: 500;
}

.ch_rateUserRating .ch_userPos {
    color: #c00000;
    font-size: 32px;
    
}

.ch_rateUserRating .ch_rateUSCount {
    color: #1B1C1E;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
}

.ch_rateUSCount .noRating {
    display: inline-block;
    margin-top: 19px;
    font-style: italic;
    font-size: 16px;
    opacity: .5;
}

.ch_rateUserRating {
    /*opacity: 0;*/
}

.ch_rateLiderBoard {
    margin-bottom: 10px;
}

.ch_rateLiderBoard {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    
    position: relative;
    padding: 0 18px;
}

.ch_rateLBText {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}


.ch_rateLiderBoard .ch_rateBoard {
    width: 100%;
    padding: 10px 10px 20px;
}

.ch_rateLBText .ch_rateLBText-header {
    position: relative;
    display: inline-block;
    flex: 1 1 10%;
    padding: 10px;
    
    color: #ffffff;
    font-family: "Jost", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;

    background: #1b1c1e;
    border-radius: 3px;
    
    z-index: 10;
}

.ch_rateLBText .ch_rateLBText-link {
    position: relative;
    
    z-index: 5;
}

.ch_rateLBText .ch_rateLBText-link a {
    flex: 1 1 100px;
    padding: 11px 20px;
    margin-left: 5px;
    
    color: #ffffff;
    text-align: center;
    font-family: "Tilda Sans", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;

    border-radius: 3px;
    background: #c00000;
    
    transition: all .3s;
}

.ch_rateLBText .ch_rateLBText-link a:hover {
    color: #1b1c1e;
    background: #ffffff;
    text-decoration: none;
}


.ch_rateUsers .ch_rateUsersImage {
    position: relative;
    
}

.ch_rateUsers .ch_rateUsersImage::after {
    position: absolute;
    bottom: 0px;
    right: 10px;
    
    width: 16px;
    height: 16px;
    
    color: #fff;
    
    font-size: 9px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.8;
    text-align: center;
    
    border-radius: 20px;
    background: #DD141F;
    
    z-index: 100;
}

.ch_rateUsers[data-rankposition="1"] .ch_rateUsersImage::after {
    content: "1";
    background: #C00000;
}

.ch_rateUsers[data-rankposition="2"] .ch_rateUsersImage::after {
    content: "2";
    background: #BE3B3B;
}

.ch_rateUsers[data-rankposition="3"] .ch_rateUsersImage::after {
    content: "3";
    background: #BD9A9A;
}

.ch_rateUsers[data-rankposition="4"] .ch_rateUsersImage::after {
    content: "4";
    background: #2B2B2A;
}

.ch_rateUsers[data-rankposition="5"] .ch_rateUsersImage::after {
    content: "5";
    background: #2B2B2A;
}

.ch_rateLiderBoard > div .ch_rateUsers:first-child {
    margin-top: 5px !important;
}

.ch_rateUsers {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    
    margin-top: 15px;
}

.ch_rateUsers img {
    position: relative;
    top: 0px;
    margin: 0 15px 0 0;
    
    height: 32px;
    width: 32px;
    
    background: rgb(235,226,214);
    border-radius: 100px;
}

.ch_rateUsersName {
    flex: 1 1 10%;
    align-content: center;
    
    color: rgba(27,29,30,0.5);
    font-family: "Jost", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.ch_rateUsersScore {
    align-content: center;
    font-family: "Jost", sans-serif;
    text-align: right;
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    color: #1B1C1E;
}


@media (max-width:1200px) and (min-width:992px), (max-width: 520px) {
    .ch_rateHeader {
        margin-bottom: 12px;
    }
    
    .ch_rateUserInfo > div:nth-child(2) {
        padding-right: 0 !important;
        flex: 0 1 65px;
    }
    
    .ch_rateLiderBoard .ch_rateBoard {
        padding-bottom: 0;
    }
    
    .ch_rateLiderBoard {
        padding: 0 9px;
    }
    
    .ch_rateLBText .ch_rateLBText-header {
        padding: 5px 10px;
    }
    
    .ch_rateLBText .ch_rateLBText-link a {
        padding: 6px 10px;
    }
    
    .ch_rateUserPhoto {
        flex: 1 1 100%;
        margin-bottom: 20px;
    }
    
    .ch_ratingBadgesHeader {
        font-size: 14px;
        bottom: 20px;
        left: 80px;
    }
    
    .ch_ratingBadgesAll {
        left: 0;
        min-width: 0;
        width: 100%;
    }
    
    .ch_rateUsers {
        margin-bottom: 20px;
    }
    
    .ch_rateUsers .ch_rateUsersImage::after {
        right: 0;
        left: inherit;
    }
    
    .ch_rateUsers img {
        margin-left: 0;
    }
    
    .ch_rateUsersImage {
        flex: 1 1 100%;
        margin-bottom: 5px;
    }
    
    .ch_rateBtn a span {
        position: static;
    }
}

@media (max-width:992px) {
    .ch_ratingWidget > div {
        flex: 1 1 100% !important;
        max-width: 100%;
    }
    
    .ch_rateLiderBoard {
        margin: 10px 0;
    }
    
    .ch_rateBtn a {
        margin-top: 0;
    }
}

.ch_rateUSCount {
    margin-top: 5px;
}

.ch_ratingBadgesHeader {
    display: none;
}

@media (max-width: 1200px) and (min-width: 992px), (max-width: 700px) {
    .ch_rateUserPhoto {
        flex: 0 1 80px;
    }
}

/* Виджет технической поддержки */
.support {
    
    background: #f0f0f0;
    border-radius: 5px;
}

.support > .xdget-div:not(.support_container) {
    padding: 16px 18px 12px;
    background: rgba(255,255,255,.6);
    border-radius: 5px;
}

.support > .xdget-div:not(.support_container) .xdget-header {
    font-family: "Jost", sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #1b1c1e;
}

.support > .xdget-div:not(.support_container) .html-content {
    font-family: "Jost", sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #1b1c1e;
}


.support .support_container {
    position: relative;
    padding: 12px 18px 20px;
}

.support .support_container .html-content {
    padding-right: 50px;
    font-family: "Jost", sans-serif;
    font-style: italic;
    font-weight: 300;
    font-size: 14px;
    color: #1b1c1e;
}

.support .support_container .support_btn {
    position: absolute;
    bottom: 0;
    left: 18px;
    transform: translatey(50%);
    
    padding: 5px 24px;
    
    font-family: "Jost", sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: #f7f7f8;
    
    background: #1b1c1e;
    border-radius: 60px;
    border: none;
    
    transition: all .3s;
}

.support .support_container .support_btn:hover {
    background: #c00000;
}